<?php

namespace App\Constant;

class Type
{

    const EXCELTYPE = [
        0 => 'xlsx',
        1 => 'xls',
        2 => 'xml',
        3 => 'ods',
        4 => 'slk',
        5 => 'gnumeric',
        6 => 'html',
        7 => 'csv',
    ];


    const ITEMWIDTH = [
        0 => '全幅',
        1 => '半幅',
        2 => '三分之一',
        3 => '四分之一',
    ];


    const ITEMTYPE = [
        0 => '列表',
        1 => '日历',
        // 2 => '流程',
        3 => '多媒体',
        4 => '统计图',
        5 => '工作流',
        6 => '其他',
        7 => '用户管理',
    ];


    const ITEMSUBTYPE = [
        0 =>  [
            0 => '普通列表',
            1 => '审批列表'
        ],
        1 =>  [
            0 => '暂无'
        ],
        2 => [
            0 => '暂无'
        ],
        3 => [
            0 => '图片',
            1 => '视频',
            2 => '音频',
            3 => '文档',
            4 => '3D文件',
          ],
        4 => [
            0 => '柱形统计图',
            1 => '饼状统计图',
            2 => '折线统计图',
            3 => '仪表统计图',
        ],
        5 => [
            0 => '暂无'
        ],
        6 => [
            0 => '分类列表',
            1 => '问答模块-多媒体',
        ],
        7=> [
            0=>'默认'
        ],
     ];


    const ITEMWIDTHTYPE = [
        0 => [
            0 => [
                0 => '全幅',
                1 => '半幅',
            ],
        ],
        1 => [
            0 => [
                0 => '全幅',
                1 => '半幅',
            ],
        ],
        2 => [
            0 => [
                0 => '全幅',
            ],
            1 => [
                0 => '全幅',
            ],
            2 => [
                0 => '全幅',
            ],
        ],
        3 => [
            0 => [
                0 => '全幅',
                1 => '半幅',
                2 => '三分之一',
            ],
            1 => [
                0 => '全幅',
                1 => '半幅',
                2 => '三分之一',
                3 => '四分之一',
            ],
            2 => [
                0 => '全幅',
                1 => '半幅',
                2 => '三分之一',
            ],
            3 => [
                0 => '全幅',
                1 => '半幅',
                2 => '三分之一',
                3 => '四分之一',
            ],
        ],
    ];


    const ITEMDATALISTTYPE = [
        0 => '文字',
        1 => '图片',
    ];


    const IMAGETYPE = [
        0 => 'jpg',
        1 => 'jpeg',
        2 => 'png',
        3 => 'gif',
    ];


    const VIDEOTYPE = [
        0 => 'mp4',
        1 => 'mkv',
        2 => 'avi',
    ];


    const AUDIOTYPE = [
        0 => 'mp3',
        1 => 'ogg',
        2 => 'mpga',
    ];


    const DOCTYPE = [
        0 => 'doc',
        1 => 'docx',
        2 => 'ppt',
        3 => 'pdf',
        4 => 'txt',
    ];


    const TDFILETYPE = [
        0 => 'obj',
        // 1 => 'mtl',
        2 => 'gltf',
        3 => 'glb',
    ];


    const PROCESSFLOWTYPE = [
      0 => 'node',
      1 => 'goback',
      2 => 'cycle',
      3 => 'decision',
      4 => 'action',
    ];


    const PROCESSFLOWACTIONTYPE = [
        0 => '输出',
        1 => '求和',
        // 2 => '求差',
        // 3 => '求商',
        // 4 => '求积',
    ];


    const PROCESSFLOWDECISION = [
      0 => ['=', '等于'],
      1 => ['!=', '不等于'],
      2 => ['>', '大于'],
      3 => ['<', '小于'],
      4 => ['like', '包含'],
    ];


    const ITEMPROJECTINDUSTRY = [
        0 => '政策咨询',
        1 => '品牌策划',
        2 => '创新人才',
        3 => '创新成果',
        4 => '创新培训',
        5 => '科技信息',
        6 => '科技金融',
        7 => '知识产权',
        8 => '研发咨询',
        9 => '孵化器运营',
    ];


    const ITEMPROJECTTEMPLATETYPE = [
        0 => '通用模板',
        1 => '专用模板',
    ];


    const ITEMPROJECTIMPORTANT = [
        0 => '不重要',
        1 => '重要',
        2 => '很重要',
    ];


    const ITEMPROJECTURGENT = [
        0 => '不紧急',
        1 => '紧急',
        2 => '很紧急',
    ];


    const ITEMPROJECTSTATUS = [
        0 => '未完成',
        1 => '已完结',
    ];


    const ROLETYPE = [
      0 => '超级管理员',
      1 => '管理员',
      2 => '用户',
    ];


    const STATUS = [
      0 => '正常',
      1 => '停用',
    ];


    const ACTIVE = [
      0 => '正常',
      1 => '封锁',
    ];


    const ACTIONTYPE = [
      'create' => '创建',
      'update' => '更新',
      'delete' => '删除',
      'restore' => '恢复',
      'login' => '登录',
      'logout' => '注销',
    ];


    const TABLENAME = [
      'column' => '栏目',
      'config' => '主站配置',
      'item' => '元件',
      'item_calendar_rec' => '日历数据',
      'item_category' => '分类数据',
      'item_category_pivot' => '分类中间表数据',
      'item_category_rec' => '分类标签数据',
      'item_category_rec_pivot' => '分类标签中间表数据',
      'item_chart_rec' => '图表数据',
      'item_datalist' => '列表字段',
      'item_datalist_rec' => '列表数据',
      'item_media_rec' => '多媒体数据',
      'item_media_faq' => '多媒体问题数据',
      'item_media_faq_rec' => '多媒体问答数据',
      'item_process_rec' => '流程图数据',
      'item_process_flow' => '流程树数据',
      'item_process_flow_action' => '流程树动作数据',
      'item_process_flow_cycle' => '流程树循环数据',
      'item_process_flow_decision' => '流程树判定数据',
      'item_project' => '项目工作流',
      'item_project_phase' => '工作流阶段',
      'item_project_task' => '工作流阶段任务',
      'item_project_template' => '工作流模板',
      'item_project_template_phase' => '工作流模板阶段',
      'item_project_template_task' => '工作流模板阶段任务',
      'notice' => '主站通知',
      'project' => '项目',
      'project_pivot' => '项目分配',
      'users' => '用户',
      'user_group' => '用户群组',
    ];

}
